const mongoose = require('mongoose');

const commentSchema = new mongoose.Schema({
    username: String,
    author: String,
    articleTitle: String,
    articleId: Number,
    content: String,
    createTime: String
})

const Comment = mongoose.model('comment', commentSchema)

module.exports = {
    Comment
}